﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PgUndefined.aspx.cs" Inherits="EGuayas.Web.PgUndefined" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link  href="~/Resources/css/StyleLogin.css"  rel="stylesheet" />
    <!-- Load Ext JS --> 
    <script src="Resources/js/Global.js"></script>
   
</head>
<body>  

    <form id="Form1" runat="server" style="background-color: #235B2F;"> 
        <ext:ResourceManager ID="pgIdCategManager" runat="server" />
        <ext:Viewport ID="Viewport1" runat="server" 
               Layout="FitLayout">
            <Items>
              <ext:Panel ID ="tab1FrmDetail" runat="server"  Title="" ButtonAlign="Center" AnchorVertical="100%" Frame="true">
                         <DockedItems>
                            <ext:Toolbar ID="Toolbar1" runat="server" Dock="Top">
                                <Items>
                                     <ext:ToolbarFill ID="ToolbarFill1" runat="server" />  
                                     <ext:Button  runat="server" Icon="LockOpen"  Handler="pgFn.Exit" ToolTip="Salir" Text="Salir"/>                                    
                                </Items>
                            </ext:Toolbar>
                        </DockedItems>    
                  <Content>
                       <div id="content-wrapper" class="clearfixd">
                      
                       <div id="header-welcome">
                            <div id="logo-cont-welcome"></div>
                            <h1 id="main-title"></h1>
                            
                        </div>
                        <div id="content-wrapper-welcome">
                        <div id="main-content-welcome" class="clearfixd">
                       
                                        
                            <ext:Panel ID="pnlMsg" runat="server" Title="Aviso"  Border="false" ButtonAlign="Center"  MarginSpec="0 15 15 15">
                                <Tools>
                                    <ext:Tool Type="Pin" />                           
                                </Tools>
                                <Buttons>
                                     <ext:Button ID="btnReEnvio"
                                    runat="server"
                                    Text="Reenvio de validación de correo"
                                    Width="180">
                                    <DirectEvents>
                                        <Click
                                            OnEvent="AceptarClick"
                                         >
                                           
                                            <EventMask ShowMask="True"></EventMask>
                                        </Click>
                                    </DirectEvents>
                                </ext:Button>

                                </Buttons>
                            </ext:Panel>

                        
                      <div id="login-cont-welcome">
            
                    <div id="inner-login-cont">
                     
                    </div>
                          </div>
                            </div>
                  </Content>             
               </ext:Panel>
                     
           </Items>
            
       </ext:Viewport>
    </form>
    <ext:XScript ID="XScript1" runat="server">
        <script  type="text/javascript">
            var pgFn = new Object();
           
            pgFn.Exit = function () {
                App.direct.DeleteSession({
                    success: function (result) {
                        document.location = 'pgLogin.aspx';
                    },
                    eventMask: {
                        showMask: true,
                        minDelay: 500
                    }
                });

            };
            
       </script>
    </ext:XScript>     
</body>
